Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODPart


GetRealPart

The GetRealPart method returns a reference to a part object encapsulated by the part wrapper.

ODPart GetRealPart ();
return value
A reference to a part object encapsulated by the part wrapper.
DISCUSSION
Use of this method must conform to the following constraints:

Your part's GetRealPart method is almost never called unless you really need to access the actual part.

OVERRIDING
When you subclass ODPart, you must not override this method.

EXCEPTIONS
kODErrPartNotWrapper
This method was called on an actual part, not a part wrapper.
SEE ALSO
The ODPart::IsRealPart method (page 531).
The ODPart::ReleaseRealPart method (page 540).
"The Part-Wrapper Object" on page 464 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help